﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lt.Configurations;
using Lt.Engine;
using RayDen.Library.Entity.Renderer;

namespace Lt.Workflow.Library.Scene
{
    public class SceneWorkflowItem : WorkflowItem
    {
        protected RendererConfiguration Configuration;
        public SceneWorkflowItem(RendererConfiguration configuration)
        {
            this.Configuration = configuration;
        }

        public override void Run(params object[] args)
        {
            if (args.Length == 0)
            {
                throw new ArgumentException("Insufficient arguments");
            }

            var scene = (LtScene)args[0];
            this.Execute(scene);

        }

        protected virtual void Execute(LtScene scene)
        {

        }
    }


}
